package com.chenyongjing.design.pattern.interpreter.calculate;

/**
 * @Author chen
 * @Date 2022/11/27 14:42
 */
public class NumInterpreter implements IArithmeticInterpreter{
    private int value;

    public NumInterpreter(int value){
        this.value = value;
    }
    @Override
    public int interpret() {
        return this.value;
    }
}
